package com.huage.courseplatform.application.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("hg_homework")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="课后作业",description="课后作业")
public class Homework extends BaseEntity<Homework> implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "授课教师id")
    private String teacherId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "标题")
    private String title;


}
